package com.fay.corejava.chapter4;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/2/20 22:47
 * @Version 1.0
 */
public enum Size2 {
    SMALL("S"),
    MEDIUM("M"),
    LARGE("L"),
    EXTRA_LARGE("XL")
    ;
    private String abbreviation;

    Size2(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getAbbreviation() {
        return abbreviation;
    }
}
